package rolesystem.examples.jade.auction.auctioneer;

import jade.core.*;
import jade.core.behaviours.*;

/**
 * This is the next behaviour to schedule after the WrapperBehaviour.
 */
public class AuctioneerNB extends OneShotBehaviour
{
	/**
	 * Subject layer of the agent.
	 */
	private transient AuctioneerSL subject;


	/**
	 * @param agent Agent owner of this behaviour.
	 * @param subject Subject layer of the agent.
	 */
	public AuctioneerNB(Agent agent, AuctioneerSL subject)
	{
		super(agent);
		this.subject=subject;
	}


	public void action()
	{
		myAgent.doDelete();
	}
}
